using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
namespace Ghosts
{
    //This class holds the properties that are individual to the ghosts
    public class ghostProperty
    {
        public enum States { RUN, ATTACK, DEAD};
        public enum Colors { RED = 0, PURPLE = 1, GREEN = 2, BLUE = 3};
        public enum Direction { NORTH, SOUTH, EAST, WEST, STOP };
        Vector2 position = new Vector2(0, 0);
        States currentState = States.ATTACK;
        Colors currentColor;
        public int speed = 65;
        public Direction currentDirection;
        public int nextWayPoint = 44;
        public int prevWayPoint = 45;
        public ghostProperty(Colors ghostColor, Vector2 start)
        {
            currentColor = ghostColor;
            position = start;
            currentState= States.ATTACK;
            currentDirection = Direction.SOUTH;
            speed = 65;
        }

		public Vector2 Position
		{
			get { return position; }
			set { position = value; }
		}
		public States State
		{
			get { return currentState; }
			set { currentState = value; }
		}
		public Colors Color
		{
			get { return currentColor; }
		}
        /*public void setPosition(Vector2 vec)
        {
            position = vec;
        }
        public Vector2 getPosition()
        {
            return position;
        }
        public void setState(States tmp)
        {
            currentState = tmp;
        }
        public States getState()
        {
            return currentState;
        }
        public Colors getColor()
        {
            return currentColor;
        }*/
    }
}